From: Richard M. Stallman Date: Sat, 21 Apr 2007 08:55:41 +0000 (+0000) Subject: (read-number): Doc fix. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~717 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=2a85fc2735958734beb37e4a2511a7d25ec6c878;p=emacs.git (read-number): Doc fix. --- diff --git a/lisp/subr.el b/lisp/subr.el index db69a3f6f5b..fac2398a795 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1719,6 +1719,9 @@ by doing (clear-string STRING)." ;; This should be used by `call-interactively' for `n' specs. (defun read-number (prompt &optional default) + "Read a numeric value in the minibuffer, prompting with PROMPT. +DEFAULT specifies a default value to return if the user just types RET. +The value of DEFAULT is inserted into PROMPT." (let ((n nil)) (when default (setq prompt